#ifndef GAMESTART_H
#define GAMESTART_H

#include <QWidget>
#include "widget.h"
#include "hardwidget.h"
#include "gameover.h"


namespace Ui {
class gamestart;
}

class gamestart : public QWidget
{
    Q_OBJECT

public:
    explicit gamestart(QWidget *parent = nullptr);
    ~gamestart();
    Widget*wgame;
    hardwidget *hgame;
    gameover *gover;




public slots:
    void replay(){this->show();};
    void overshow()
    {gover=new gameover;gover->show();connect(gover,SIGNAL(rep()),this,SLOT(replay()));};
    void on_pushButton_clicked();




private slots:
    void on_pushButton_2_clicked();

private:
    Ui::gamestart *ui;
};

#endif // GAMESTART_H
